package com.ruoyi.chargepile.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.chargepile.domain.ChargePile;
import com.ruoyi.chargepile.domain.vo.ChargePileCountByStatusVo;
import com.ruoyi.chargepile.domain.vo.OnlyOneQueryValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 充电桩 Mapper 接口
 * </p>
 *
 * @author zxc
 * @since 2024-07-03
 */
public interface ChargePileMapper extends BaseMapper<ChargePile> {

    public List<ChargePileCountByStatusVo> getChargePileStatusByTypeVo();

    public List<OnlyOneQueryValue> listRepairPileNumber(@Param("userId") Integer userId);

    public List<OnlyOneQueryValue> listChargeRecordsPileNumber(@Param("userId") Integer userId);

}
